function obtenerDatosVendedor(product_id) {
	
		
	$.ajax({
		url: 'index.php?route=product/ajaxProduct/datosVendedorByIdProducto',
		type: 'post',
		data: 'product_id=' + product_id,
		dataType: 'json',
		success: function(response) {
		               
					   
			$('.success, .warning, .attention, .information, .error').remove();
			
			   if(response){
			
				imprimeDatosVendedor(response);
				
				}	
				
			}
		
	});
	
	
}


function imprimeDatosVendedor(response){


				// console.log("JSON Returned on complete: ", response.firstname);
				// console.log("JSON Returned on complete: ", response.email);
				// console.log("JSON Returned on complete: ", response.telephone);
				// console.log("JSON Returned on complete: ", response.lastname);

$.msgBox({
    title:"DATOS DE CONTACTO",
    content:"<br/>" + "Nombre: "+response.firstname  +" "+response.lastname +"<br/>" +
			"Email: "+response.email+"<br/>" +"Telefono: "+response.telephone,
    type:"info"
});
		
}